package com.teng.service;


import com.teng.ao.QueryUserAo;
import com.teng.dto.QueryResult;
import com.teng.entity.UserEntity;

public interface UserCrudService {
	UserEntity insert(String account,String name,String remark,String creatId)throws Exception;
	
	UserEntity check(String id)throws Exception;
	
	void delete(String id)throws Exception;
	
	void lock(String id)throws Exception;
	
	void unlock(String id)throws Exception;
	
	QueryResult queryUser(QueryUserAo ao,String creatId)throws Exception;
	
	void updata(String id,String account,String name,String remark)throws Exception;

	UserEntity myaccount(String id)throws Exception;
}
